export default {
  methods: {
    emitCloseAndRefresh(...args) {
      console.log('接收到CloseAndRefresh事件');
      this.$emit('closeAndRefresh', ...args);
    },
    emitCloseAndSet(...args) {
      console.log('接收到CloseAndSet事件,参数为', ...args);
      this.$emit('closeAndSet', ...args);
    },
    emitOnlyClose(...args) {
      console.log('接收到OnlyClose事件,参数为', ...args);
      this.$emit('onlyClose', ...args);
    }
  }
};
